package cn.offcn.controller;

import cn.offcn.service.EvaluateService;
import cn.offcn.utils.OAResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/evaluate")
public class EvaluateController {

    @Autowired
    private EvaluateService evaluateService;

    @RequestMapping("/deleteEvaluateByEid")
    @ResponseBody
    public OAResult deleteEvaluateByEid(Integer eid){
       return  evaluateService.deleteEvaluateByEid(eid);
    }
}
